package com.df.userserver.api.user.service;

import com.df.userserver.api.user.bean.UserInfo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: lichong
 * @email: li_chong@massclouds
 * @Date: 2020/5/13 10:52
 * @Description:
 */
@RequestMapping("/api/userFeign")
public interface IUserFeignService {

    @GetMapping("name")
    String getUserName(String name);


    @PostMapping("info")
    UserInfo getUserInfo(@RequestBody UserInfo userInfo);
}
